package com.lili.operate.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lili.model.operate.MessageSign;


public interface MessageSignService {
    /**
     * 保存短信签名
     * @param messageSign
     * @return
     */
    public int saveMessageSign(MessageSign messageSign);

    /**
     * 分页查询所有的短信签名
     * @param current
     * @param size
     * @return
     */
    public Page<MessageSign> queryByPage(int current, int size);

    /**
     * 根据id更新数据
     * @param messageSign
     * @return
     */
    public int updateSign(MessageSign messageSign);

    /**
     * 根据id删除sign
     * @param id
     * @return
     */
    public int deleteSign(long id);
}
